package at.codebase.db;

import at.codebase.db.entities.*;

import com.googlecode.objectify.ObjectifyFactory;

/**
 * 
 * @author Lukas Pfeifhofer <lukas.pfeifhofer@devlabs.pro>
 * 
 */
public class OfyFactory extends ObjectifyFactory {

	public OfyFactory() {
		this.register(EImage.class);
		this.register(EItem.class);
		this.register(EItemCollection.class);
		this.register(EItemFeedback.class);
		this.register(ELogMessage.class);
		this.register(EMessage.class);
		this.register(EUser.class);
		this.register(EApiAccess.class);
		this.register(EApiPartner.class);
		this.register(EMessageExt.class);
		this.register(EExternalItemFeedback.class);
	}

	@Override
	public Ofy begin() {
		return new Ofy(super.begin());
	}
}